package com.hxy.hrm.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import com.hxy.hrm.domain.Course;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.hxy.hrm.query.CourseQuery;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hxy
 * @since 2022-01-08
 */
public interface CourseMapper extends BaseMapper<Course> {


    List<Course> loadPageList(Page page, CourseQuery query);

    void online(List<Long> ids);

    void offline(List<Long> ids);
}
